﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace HZYProject.Domain
{
    /// <summary>
    /// 试题评论
    /// </summary>
    public class Comment
    {
        /// <summary>
        /// 评论编号
        /// </summary>
        public int CommentID { get; set; }

        /// <summary>
        /// 评论回复
        /// </summary>
        public string Reply { get; set; }

        /// <summary>
        /// 评论内容
        /// </summary>
        public string CommentCont { get; set; }

        /// <summary>
        /// 状态，0隐藏，1显示
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [DataType(DataType.DateTime)]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 回复时间
        /// </summary>
        [DataType(DataType.DateTime)]
        public DateTime ReplyTime { get; set; }

        /// <summary>
        /// 评论人
        /// </summary>
        public Guid StudentID { get; set; }

        /// <summary>
        /// 回复人
        /// </summary>
        public Guid UserID { get; set; }
    }
}
